package org.example;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:何人亮
 * Date:2024-11-12
 * 22:09
 */
class Test{
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String s=sc.nextLine();
        String s1=s.toUpperCase();
        String ss[]=s1.split(" ");
        for(int i=0;i<ss.length;i++){
            String s2=ss[i];
            char c=s2.charAt(0);
            System.out.print(c);
        }
    }
}